<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="<%=request.getContextPath()%>/resources/js/jquery-1.11.3.min.js"></script>
  </head>
  
  <body>
   pageContext.request.contextPath = ${pageContext.request.contextPath }<br/>
    path=<%=path %><br/>
    basePath=<div><%=basePath %></div>
    <div >This is my JSP page.哈哈测试汉字 </div>
    <div>
    	<input type="button" value="查看项目内容" onclick="javascript:window.location.href='<%=path %>/index/toContent'"/>
    </div>
    <div>
    	<input type="button" value="查看业务内容" onclick="javascript:window.open('<%=path %>/index/toAction','_blank')" />
    </div>
  </body>
</html>
